<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>青岛中化阳光管理体系认证中心有限公司</title>
    <meta charset="utf-8"/>
    <link rel="stylesheet" th:href="@{{path}/css/style.css(path=${contextPath})}"/>
    <script th:src="@{{path}/js/time.js(path=${contextPath})}" type="text/javascript"></script>
    <script th:src="@{{path}/js/jquery-1.7.2.min.js(path=${contextPath})}" type="text/javascript"></script>
    <script type="text/javascript" th:src="@{{path}/js/SuperSlide.2.1.js(path=${contextPath})}"></script>
    <script th:src="@{{path}/js/zzsc.js(path=${contextPath})}" type="text/javascript"></script>
    <link rel="stylesheet" th:href="@{{path}/css/font-awesome.min.css(path=${contextPath})}"/>
</head>
<body>
<div th:replace="user/head::html"></div>
<!-- header end -->
<div class="main">
    <div class="leftnav">
        <div class="navtit">—— 公开文件 ——</div>
        <div th:replace="user/chain::html"></div>
    </div>
    <div class="rightcotent">
        <div class="tit">
            <h3>公开文件</h3>
            <span class="position">当前位置: 首页 > 公开文件</span>
        </div>
        <div class="pagecontent">
            <div class="pagec">
                <ul class="list">
                    <li th:each="file,fileStat : ${page.records}">
                        <a th:if="${file.type eq 0}"
                           th:href="@{{path}/file/download?id={id}(path=${contextPath},id=${file.id})}"
                           th:text="${file.title}"></a>
                        <a th:if="${file.type eq 1}"
                           th:href="@{{path}/userFile/detail?id={id}(path=${contextPath},id=${file.id})}"
                           th:text="${file.title}"></a>
                        <span th:text="${null == file.createDate || '' == file.createDate ? '-' : #dates.format(file.createDate,'yyyy.MM.dd')}"></span>
                    </li>
                </ul>
                <div class="M-box11"></div>

                <div class="hr hr-18 dotted hr-double"></div>
            </div>

        </div>
    </div>
    <div class="clear"></div>


</div>
<!-- main end -->
<div th:replace="user/foot::html"></div>
<!-- 分页 -->
<script th:src="@{{path}/js/jquery.pagination.js(path=${contextPath})}"></script>
<script type="text/javascript" th:inline="javascript">
    $('.M-box11').pagination({
        totalData: [[${page.total}]], //数据总条数
        showData: 10, //每页显示的条数
        pageCount: [[${page.pages}]], //总页数,默认为9
        current: [[${page.current}]], //当前第几页
        prevCls: 'prev', //上一页class
        nextCls: 'next', //下一页class
        prevContent: '上页', //上一页内容
        nextContent: '下页', //下一页内容
        activeCls: 'active', //当前页选中状态
        coping: false, //首页和尾页
        isHide: false, //当前页数为0页或者1页时不显示分页
        homePage: '首页', //首页节点内容
        endPage: '尾页', //尾页节点内容
        keepShowPN: false, //是否一直显示上一页下一页
        mode: 'fixed', //分页模式，unfixed：不固定页码数量，fixed：固定页码数量
        count: 4, //mode为unfixed时显示当前选中页前后页数，mode为fixed显示页码总数
        jump: false, //跳转到指定页数
        jumpIptCls: 'jump-ipt', //文本框内容
        jumpBtnCls: 'jump-btn', //跳转按钮
        jumpBtn: '跳转', //跳转按钮文本
        callback: function (api) {
            //<![CDATA[
            var pageNum = api.getCurrent();
            window.location.href = "list?current=" + pageNum + "&search=" + $("#nav-search-input").val();
            //]]>
        }//回调
    });
</script>
</body>
</html>
